package cn.xuxiu.bacsic.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.ArrayList;
import java.util.List;

/**
 * 封装查询的结果
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageList<T> {
    private Long total = 0l;
    private List<T> data = new ArrayList<>();
}
